import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import axios from "axios";
import qs from "qs";
import "reset-css";

//引入echarts
import echarts from "echarts";
Vue.prototype.$echarts = echarts;

//引入vantui组件
import Vant from "vant";
import "vant/lib/index.css";
Vue.prototype.qs = qs;

Vue.use(Vant);

axios.defaults.baseURL = "http://127.0.0.1:3000";
Vue.prototype.axios = axios;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
